package com.hzlj.position.locate.common.dto.reportInspectionArtificial;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fz.common.base.enums.db.QueryField;
import com.fz.common.base.enums.db.RangeType;
import com.hzlj.position.locate.common.model.ReportInspectionArtificial;
import com.hzlj.sqjz.jz.common.dto.common.JzCommonQueryParamDTO;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

import static com.fz.common.base.core.date.DateUtils.*;

/**
 * 通信联络核查-核查-最新(ReportInspectionArtificial)查询参数DTO
 *
 * @author lifh
 * @date 2023-08-04 17:24:22
 */
@Data
@ToString
@Accessors(chain = true)
public class ReportInspectionArtificialQueryParamDTO extends JzCommonQueryParamDTO {
    /**
     * 所属天
     */
    @QueryField(model = ReportInspectionArtificial.class)
    @JsonFormat(locale = LOCALE, timezone = TIME_ZONE, pattern = DATE_SHORT_FORMAT)
    private Date belongDay;
    /**
     * 所属天(开始)
     */
    @QueryField(model = ReportInspectionArtificial.class, range = RangeType.GTE, value = "belongDay")
    @JsonFormat(locale = LOCALE, timezone = TIME_ZONE, pattern = DATE_SHORT_FORMAT)
    private Date beginBelongDay;
    /**
     * 所属天(结束)
     */
    @QueryField(model = ReportInspectionArtificial.class, range = RangeType.LTE, value = "belongDay")
    @JsonFormat(locale = LOCALE, timezone = TIME_ZONE, pattern = DATE_SHORT_FORMAT)
    private Date endBelongDay;
    /**
     * 人工上报状态,dict-REPORT_STATUS
     */
    @QueryField(model = ReportInspectionArtificial.class)
    private String reportStatus;
    /**
     * 是否越界
     */
    @QueryField(model = ReportInspectionArtificial.class)
    private Boolean crossBorder;
    /**
     * 点验通知是否发送成功
     */
    @QueryField(model = ReportInspectionArtificial.class)
    private Boolean notice;
}
